﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VietThinks.Contract
{
    public class AccountDto : IdentifiableDto
    {
        public AccountDto()
        {
            this.RightDenieds = new List<DeniedRightDto>();
        }
        public string UserName { get; set; }
        public string Password { get; set; }
        public bool Actived { get; set; }
        public RoleDto Role { get; set; }
        public IList<DeniedRightDto> RightDenieds { get; protected set; }
        public bool IsLogin { get; set; }
        public DateTime LastLoginDate { get; set; }
        public DateTime LastLogoutDate { get; set; }
    }
}
